{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/ContactControl/index.tsx\",\n  _s = $RefreshSig$();\nimport React from 'react';\nimport { observer } from \"mobx-react-lite\";\nimport { Context } from \"../../index\";\nimport { findContactOrReturnNull } from \"../../utils/Contact\";\nimport { Modal } from \"../index\";\nimport './ContactControl.scss';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nconst ContactControl = props => {\n  _s();\n  const {\n    store\n  } = React.useContext(Context);\n  const [findContactWithIndex, setFindContactWithIndex] = React.useState();\n  const [showModalPendingApplication, setShowModalPendingApplication] = React.useState(false);\n  const [showModalAlreadyContacts, setShowModalAlreadyContacts] = React.useState(false);\n  React.useEffect(() => {\n    if (!props.selfProfile && store.getProfile().id !== props.profile.id) {\n      setFindContactWithIndex({\n        ...findContactWithIndex,\n        ...findContactOrReturnNull(props.profile, store.getProfile(), store.getContacts())\n      });\n    }\n  }, [store.getContacts(), props.profile]);\n  if (!props.selfProfile && store.getProfile().id !== props.profile.id) {\n    if ((findContactWithIndex === null || findContactWithIndex === void 0 ? void 0 : findContactWithIndex.contact) === null) {\n      return /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"contact__control\",\n        children: /*#__PURE__*/_jsxDEV(\"button\", {\n          onClick: () => store.addContactFromAPI(props.profile.id),\n          children: \"\\u0414\\u043E\\u0431\\u0430\\u0432\\u0438\\u0442\\u044C \\u0432 \\u043A\\u043E\\u043D\\u0442\\u0430\\u043A\\u0442\\u044B\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 31,\n          columnNumber: 21\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 30,\n        columnNumber: 17\n      }, this);\n    } else if (findContactWithIndex !== null && findContactWithIndex !== void 0 && findContactWithIndex.contact.status) {\n      return /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"contact__control\",\n        children: [/*#__PURE__*/_jsxDEV(\"span\", {\n          children: \"\\u0423 \\u0432\\u0430\\u0441 \\u0432 \\u043A\\u043E\\u043D\\u0442\\u0430\\u043A\\u0442\\u0430\\u0445\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 39,\n          columnNumber: 21\n        }, this), /*#__PURE__*/_jsxDEV(\"button\", {\n          className: \"variousamechanics\",\n          onClick: () => {\n            setShowModalAlreadyContacts(true);\n          },\n          children: [/*#__PURE__*/_jsxDEV(\"div\", {\n            className: \"cleverlypaired\",\n            children: [/*#__PURE__*/_jsxDEV(\"i\", {\n              className: \"fa fa-trash-o\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 47,\n              columnNumber: 29\n            }, this), /*#__PURE__*/_jsxDEV(\"i\", {\n              className: \"fa fa-question\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 48,\n              columnNumber: 29\n            }, this), /*#__PURE__*/_jsxDEV(\"i\", {\n              className: \"fa fa-check\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 49,\n              columnNumber: 29\n            }, this)]\n          }, void 0, true, {\n            fileName: _jsxFileName,\n            lineNumber: 46,\n            columnNumber: 25\n          }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n            className: \"kedeverything\",\n            children: /*#__PURE__*/_jsxDEV(\"span\", {\n              children: \"\\u0423\\u0434\\u0430\\u043B\\u0438\\u0442\\u044C \\u043A\\u043E\\u043D\\u0442\\u0430\\u043A\\u0442\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 52,\n              columnNumber: 29\n            }, this)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 51,\n            columnNumber: 25\n          }, this)]\n        }, void 0, true, {\n          fileName: _jsxFileName,\n          lineNumber: 40,\n          columnNumber: 21\n        }, this), /*#__PURE__*/_jsxDEV(Modal, {\n          active: showModalAlreadyContacts,\n          title: \"Удаление контакта\",\n          hasFunctionButtons: true,\n          onSubmit: () => {\n            store.deleteContactFromAPI(findContactWithIndex === null || findContactWithIndex === void 0 ? void 0 : findContactWithIndex.contact, findContactWithIndex === null || findContactWithIndex === void 0 ? void 0 : findContactWithIndex.index).then(() => setShowModalAlreadyContacts(false));\n          },\n          onClose: () => setShowModalAlreadyContacts(false),\n          customClassNameButtonSecond: \"messenger__sidebar-profileControl-deleteProfile\",\n          children: /*#__PURE__*/_jsxDEV(\"div\", {\n            children: \"\\u0412\\u044B \\u0434\\u0435\\u0439\\u0441\\u0442\\u0432\\u0438\\u0442\\u0435\\u043B\\u044C\\u043D\\u043E \\u0445\\u043E\\u0442\\u0438\\u0442\\u0435 \\u0431\\u0435\\u0437\\u0432\\u043E\\u0437\\u0432\\u0440\\u0430\\u0442\\u043D\\u043E \\u0443\\u0434\\u0430\\u043B\\u0438\\u0442\\u044C \\u043A\\u043E\\u043D\\u0442\\u0430\\u043A\\u0442?\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 67,\n            columnNumber: 25\n          }, this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 55,\n          columnNumber: 21\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 38,\n        columnNumber: 17\n      }, this);\n    } else {\n      return /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"contact__control\",\n        children: [(findContactWithIndex === null || findContactWithIndex === void 0 ? void 0 : findContactWithIndex.contact.fromUser.id) === store.getProfile().id && /*#__PURE__*/_jsxDEV(\"span\", {\n          children: \"\\u0417\\u0430\\u044F\\u0432\\u043A\\u0430 \\u043E\\u0442\\u043F\\u0440\\u0430\\u0432\\u043B\\u0435\\u043D\\u0430\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 75,\n          columnNumber: 25\n        }, this), (findContactWithIndex === null || findContactWithIndex === void 0 ? void 0 : findContactWithIndex.contact.toUser.id) === store.getProfile().id && /*#__PURE__*/_jsxDEV(\"button\", {\n          onClick: () => store.acceptContactFromAPI(findContactWithIndex === null || findContactWithIndex === void 0 ? void 0 : findContactWithIndex.contact, findContactWithIndex === null || findContactWithIndex === void 0 ? void 0 : findContactWithIndex.index),\n          children: \"\\u041F\\u0440\\u0438\\u043D\\u044F\\u0442\\u044C \\u0437\\u0430\\u044F\\u0432\\u043A\\u0443\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 78,\n          columnNumber: 25\n        }, this), /*#__PURE__*/_jsxDEV(\"button\", {\n          className: \"variousamechanics\",\n          onClick: () => {\n            setShowModalPendingApplication(true);\n          },\n          children: [/*#__PURE__*/_jsxDEV(\"div\", {\n            className: \"cleverlypaired\",\n            children: [/*#__PURE__*/_jsxDEV(\"i\", {\n              className: \"fa fa-trash-o\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 89,\n              columnNumber: 29\n            }, this), /*#__PURE__*/_jsxDEV(\"i\", {\n              className: \"fa fa-question\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 90,\n              columnNumber: 29\n            }, this), /*#__PURE__*/_jsxDEV(\"i\", {\n              className: \"fa fa-check\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 91,\n              columnNumber: 29\n            }, this)]\n          }, void 0, true, {\n            fileName: _jsxFileName,\n            lineNumber: 88,\n            columnNumber: 25\n          }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n            className: \"kedeverything\",\n            children: /*#__PURE__*/_jsxDEV(\"span\", {\n              children: \"\\u0423\\u0434\\u0430\\u043B\\u0438\\u0442\\u044C \\u0437\\u0430\\u044F\\u0432\\u043A\\u0443\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 94,\n              columnNumber: 29\n            }, this)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 93,\n            columnNumber: 25\n          }, this)]\n        }, void 0, true, {\n          fileName: _jsxFileName,\n          lineNumber: 82,\n          columnNumber: 21\n        }, this), /*#__PURE__*/_jsxDEV(Modal, {\n          active: showModalPendingApplication,\n          title: \"Удаление заявки\",\n          hasFunctionButtons: true,\n          onSubmit: () => {\n            store.deleteContactFromAPI(findContactWithIndex === null || findContactWithIndex === void 0 ? void 0 : findContactWithIndex.contact, findContactWithIndex === null || findContactWithIndex === void 0 ? void 0 : findContactWithIndex.index).then(() => setShowModalPendingApplication(false));\n          },\n          onClose: () => setShowModalPendingApplication(false),\n          customClassNameButtonSecond: \"messenger__sidebar-profileControl-deleteProfile\",\n          children: /*#__PURE__*/_jsxDEV(\"div\", {\n            children: \"\\u0412\\u044B \\u0434\\u0435\\u0439\\u0441\\u0442\\u0432\\u0438\\u0442\\u0435\\u043B\\u044C\\u043D\\u043E \\u0445\\u043E\\u0442\\u0438\\u0442\\u0435 \\u0431\\u0435\\u0437\\u0432\\u043E\\u0437\\u0432\\u0440\\u0430\\u0442\\u043D\\u043E \\u0443\\u0434\\u0430\\u043B\\u0438\\u0442\\u044C \\u0437\\u0430\\u044F\\u0432\\u043A\\u0443?\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 109,\n            columnNumber: 25\n          }, this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 97,\n          columnNumber: 21\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 73,\n        columnNumber: 17\n      }, this);\n    }\n  } else {\n    return /*#__PURE__*/_jsxDEV(_Fragment, {}, void 0, false);\n  }\n};\n_s(ContactControl, \"5znn0gY3tXNPPiwwdcGfEemw1nY=\");\n_c = ContactControl;\nexport default _c2 = observer(ContactControl);\nvar _c, _c2;\n$RefreshReg$(_c, \"ContactControl\");\n$RefreshReg$(_c2, \"%default%\");","map":{"version":3,"names":["React","observer","Context","findContactOrReturnNull","Modal","ContactControl","props","store","useContext","findContactWithIndex","setFindContactWithIndex","useState","showModalPendingApplication","setShowModalPendingApplication","showModalAlreadyContacts","setShowModalAlreadyContacts","useEffect","selfProfile","getProfile","id","profile","getContacts","contact","addContactFromAPI","status","deleteContactFromAPI","index","then","fromUser","toUser","acceptContactFromAPI"],"sources":["/data/messenger.client/src/components/ContactControl/index.tsx"],"sourcesContent":["import React from 'react';\nimport {observer} from \"mobx-react-lite\";\nimport {Context} from \"../../index\";\nimport {findContactOrReturnNull} from \"../../utils/Contact\";\nimport {UserProfileProps} from \"../../models/props/UserProfileProps\";\nimport {ContactWithIndex} from \"../../models/props/ContactWithIndex\";\nimport {Modal} from \"../index\";\nimport './ContactControl.scss';\n\nconst ContactControl: React.FC<UserProfileProps> = (props) => {\n    const {store} = React.useContext(Context);\n    const [findContactWithIndex, setFindContactWithIndex] = React.useState<ContactWithIndex>();\n    const [showModalPendingApplication, setShowModalPendingApplication] = React.useState<boolean>(false);\n    const [showModalAlreadyContacts, setShowModalAlreadyContacts] = React.useState<boolean>(false);\n\n    React.useEffect(() => {\n        if (!props.selfProfile && store.getProfile().id !== props.profile.id) {\n            setFindContactWithIndex({\n                ...findContactWithIndex,\n                ...findContactOrReturnNull(props.profile, store.getProfile(), store.getContacts())\n            });\n        }\n    }, [store.getContacts(), props.profile]);\n\n    if (!props.selfProfile &&\n        store.getProfile().id !== props.profile.id\n    ) {\n        if (findContactWithIndex?.contact === null) {\n            return (\n                <div className=\"contact__control\">\n                    <button\n                        onClick={() => store.addContactFromAPI(props.profile.id)}\n                    >Добавить в контакты</button>\n                </div>\n            );\n        } else if (findContactWithIndex?.contact.status) {\n            return (\n                <div className=\"contact__control\">\n                    <span>У вас в контактах</span>\n                    <button\n                        className='variousamechanics'\n                        onClick={() => {\n                            setShowModalAlreadyContacts(true);\n                        }}\n                    >\n                        <div className='cleverlypaired'>\n                            <i className='fa fa-trash-o'></i>\n                            <i className='fa fa-question'></i>\n                            <i className='fa fa-check'></i>\n                        </div>\n                        <div className='kedeverything'>\n                            <span>Удалить контакт</span>\n                        </div>\n                    </button>\n                    <Modal\n                        active={showModalAlreadyContacts}\n                        title={\"Удаление контакта\"}\n                        hasFunctionButtons={true}\n                        onSubmit={() => {\n                            store.deleteContactFromAPI(findContactWithIndex?.contact!, findContactWithIndex?.index!).then(() =>\n                                setShowModalAlreadyContacts(false)\n                            );\n                        }}\n                        onClose={() => setShowModalAlreadyContacts(false)}\n                        customClassNameButtonSecond={\"messenger__sidebar-profileControl-deleteProfile\"}\n                    >\n                        <div>Вы действительно хотите безвозвратно удалить контакт?</div>\n                    </Modal>\n                </div>\n            );\n        } else {\n            return (\n                <div className=\"contact__control\">\n                    {findContactWithIndex?.contact.fromUser.id === store.getProfile().id &&\n                        <span>Заявка отправлена</span>\n                    }\n                    {findContactWithIndex?.contact.toUser.id === store.getProfile().id &&\n                        <button\n                            onClick={() => store.acceptContactFromAPI(findContactWithIndex?.contact!, findContactWithIndex?.index!)}\n                        >Принять заявку</button>\n                    }\n                    <button\n                        className='variousamechanics'\n                        onClick={() => {\n                            setShowModalPendingApplication(true);\n                        }}\n                    >\n                        <div className='cleverlypaired'>\n                            <i className='fa fa-trash-o'></i>\n                            <i className='fa fa-question'></i>\n                            <i className='fa fa-check'></i>\n                        </div>\n                        <div className='kedeverything'>\n                            <span>Удалить заявку</span>\n                        </div>\n                    </button>\n                    <Modal\n                        active={showModalPendingApplication}\n                        title={\"Удаление заявки\"}\n                        hasFunctionButtons={true}\n                        onSubmit={() => {\n                            store.deleteContactFromAPI(findContactWithIndex?.contact!, findContactWithIndex?.index!).then(() =>\n                                setShowModalPendingApplication(false)\n                            );\n                        }}\n                        onClose={() => setShowModalPendingApplication(false)}\n                        customClassNameButtonSecond={\"messenger__sidebar-profileControl-deleteProfile\"}\n                    >\n                        <div>Вы действительно хотите безвозвратно удалить заявку?</div>\n                    </Modal>\n                </div>\n            );\n        }\n    } else {\n        return (<></>);\n    }\n}\n\nexport default observer(ContactControl);"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,QAAQ,QAAO,iBAAiB;AACxC,SAAQC,OAAO,QAAO,aAAa;AACnC,SAAQC,uBAAuB,QAAO,qBAAqB;AAG3D,S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